# encoding: utf-8
"""
@author: 夏洛
@QQ: 1972386194
@file: 01-danjuan.py
"""
import requests


def test1():

    url = 'https://danjuanapp.com/djapi/v3/filter/fund?type=1&order_by=2y&size=20&page=7'

    headers = {
        'User-Agent':'12312asdasd'
    }
    res = requests.get(url,headers=headers)
    print(res.text)


def test2():
    url = "http://www.cninfo.com.cn/new/disclosure"
    data = {
    "column": "szse_gem_latest",
    "pageNum": "3",
    "pageSize": "30",
    "sortName": "",
    "sortType": "",
    "clusterFlag": "true"
}
    res = requests.post(url,data=data)
    print(res.text)




